change home controller to gallery