fixing arrow buttons