Made details start in docked position.

Also added more pragma tags and moved some methods beneath appropriate pragmas.
Fixed quick double-tap fullscreen image toggle bug.

Now a new toggle is started only if previous toggle animation has finished.