fix arrow beginning and end of slides