alert and annotation

alert for browser size and orientation, change the configuration of
annotation size