Fixed issue with vertical frame and added option to set ImageView as icon