Added el and retina image support for safari

1. Included el on which scrolling is performing.

2. Add a function to check for retina display, which will work on iPhone,iPad safari and other major browsers.