Added methods to show/hide views in gravity.