Sprint8 refactoring 10/13

@hippee-lee 

Fixes and refactoring for Gizmo

and custom directive created for mobile search box