Close panel

Added functionality to close the panel from within panel; useful for
mobile device users as screen would be too small to click outside the
panel to close it, a new close button has been added inside the panel
to allow closing of the panel.