Add vertical scanning and can change scan interval

Add vertical scanning and can change scan interval