Corrected positioning of dots to keep everything in view