Moved positioning outside transparency check for section titles, resizing window caused the titles not to reposition themselves correctly because they had already slid into view, putting them into strange positions.