Remove redundant selectors
Cache some jQuery objects

To prevent from frequent `find` calls.
Refactor attaching click handlers to elements
Refactor first/last image condition
Add previews of previous/next images

* Introduce `showPreviews` and `overridePreviewsPosition` options
* Introduce new DOM elements and created sample styles for them