fixed issue with collapsing the sliding up panel.