Refactored. Made breakpoints configurable.
Added jasmine unit test
image handling for retina displays