simply logic to wrap views

props @LtCmdDudefellah for spotting this :eyes: