added viewport controls