             {
                 case Keyboard.LEFT:
                 case Keyboard.RIGHT:
+                case Keyboard.HOME:
+                case Keyboard.END:                
                     hspDelta = vp.horizontalScrollPositionDelta(event.keyCode);
                     break;
             }

        if (instance == verticalScrollBar)
        {
        	verticalScrollBar.addEventListener("valueCommit", vsb_valueCommitHandler);
        	//verticalScrollBar.minHeight = 0;
        }
        
        if (instance == horizontalScrollBar)

                case Keyboard.PAGE_DOWN:
                case Keyboard.HOME:
                case Keyboard.END:
                     vspDelta = vp.verticalScrollPositionDelta(event.keyCode);
                     break;
            }
            if (!isNaN(vspDelta))
            {
