refactored togglePanel() and PP_state usage;
panel can be attached to bottom of the screen;
refactored panel's draggable options