Removed entire document refresh when setting page border