implemented zoom functionality and border color changing