fix bug with move from vertical mode to horizontal
fix direction button enabling