Move library and settings buttons to the bottom, and leave the bottom panel visible at all times. never covered up.
and place a bar under the icon when selected.
hitting the X or tapping the icon again should hide the panel.