 			
 			if (ofy == 'visible' || ofy == null || ofy == 'hidden')
 			{
-				if (m_vScrollbar) m_vScrollbar.setVisibility(false);
+				if (m_vScrollbar)
+				{
+					m_vScrollbar.setVisibility(false);
+					vScroll = 0;
+				}
 				if (ofy == 'hidden') maskNeeded = true;
 			}
 			else

				if (m_hScrollbar)
				{
					m_hScrollbar.setVisibility(false);
				}
			}
		}

			
			if (ofx == 'visible' || ofx == null || ofx == 'hidden')
			{
				if (m_hScrollbar)
				{
					m_hScrollbar.setVisibility(false);
					hScroll = 0;
				}
				if (ofx == 'hidden') maskNeeded = true;
			}
			else
