side panel width and opacity change