       $(this).addClass 'is-active' if direction is 'down'
       $(this).removeClass 'is-active' if direction is 'up'
     , offset: '90%'
+
+
+  setImages: ->
+    @$('img').waypoint ->
+      $img = $(this)
+      src = $img.data 'src'
+      $parent = $img.parent()
+      $parent.imagesLoaded -> $.waypoints('refresh')
+      width = $parent.width()
+      src = if isRetina() then src else resize(src, width: width)
+      $img.attr 'src', src
+    , triggerOnce: true, offset: '150%'

    @setupFlipHearts()
    @setupSkylineSlideshow()
    @setupGenes()

  zoomImage: (e) ->
    e.preventDefault()

_ = require 'underscore'
Backbone = require 'backbone'
imagesLoaded = require 'imagesloaded'
{ isRetina, isTouchDevice } = require '../../../components/util/device.coffee'
mediator = require '../../../lib/mediator.coffee'
ZoomView = require '../../../components/modal/zoom.coffee'
{ resize } = require '../../../lib/resizer.coffee'

module.exports = class AboutView extends Backbone.View
  events:
