Bug 1058748 - Fix gallery preview on tablet

* Fix setFramesPosition for prev/next frame
* Try to remove important usage