simplified; slide centering logic still needs work