cleaned up some logic in button cover slider