commit before slider size changes