Fixed horizontal calculation for id simple-modal