Refactors getTop and getLeft