Fixed viewport and scrollbar when switching between views forth and back.