made controller mobile friendly