added support for 3.5 inch displays