improve calculations for view mask and shadows
--improve how applet shadows are considered in order to increase or decrease the view mask based on how big or not are the applets shadows