Added formula for calculating how many displays are on screen