prototype click to fullscreen and resizing