added function to draw nextframe button