We have a sliding menu on left and we are showing data on right side. What I want is if we lock the sliding menu, the right side jsp which has text boxes and button should autoresize. If I unlock it should autoresize. Basically we want to avoid horizontal scrolling in both cases. User should not have to scroll to right to see more button etx.