Added scroll-to-thumb-when-minimized feature

After minimizing expanded images, scroll back to post if it isn't in
view.