Changes the way toolbar is resized on toggle