<DA-326> fix dislay full srceen image. move shared code to controller
<DA-326> fix user inputs