fix forward and backward button direction