Change behaviour of sidebar