changed a view positining method on bufreadpost.